package spe.jbpm.gd.jpdl.model;

//import java.util.ArrayList;
//import java.util.List;


public class DocumentState extends Delegation {//implements DocumentStateVariableContainer{
	
	private String stateId;
	private String stateName;
	private String stateNote;
	
	//-- State Id
	public void setStateId(String newStateId) {
		String oldStateId = stateId;
		stateId = newStateId;
		firePropertyChange("stateId", oldStateId, newStateId);
	}	
	public String getStateId() {
		return stateId;
	}
	
	//-- State Name
	public void setStateName(String newStateName) {
		String oldStateName = stateName;
		stateName = newStateName;
		firePropertyChange("stateName", oldStateName, newStateName);
	}	
	public String getStateName() {
		return stateName;
	}
	
	//-- State Note
	public void setStateNote(String newStateNote) {
		String oldStateNote = stateNote;
		stateNote = newStateNote;
		firePropertyChange("stateNote", oldStateNote, newStateNote);
	}	
	public String getStateNote() {
		return stateNote;
	}

/*	private List variables = new ArrayList();
	public void addDocumentStateVariable(DocumentState documentState) {
		// TODO Auto-generated method stub
		
	}
	public DocumentState[] getDocumentStateVariables() {
		// TODO Auto-generated method stub
		return null;
	}
	public void removeDocumentStateVariable(DocumentState documentState) {
		// TODO Auto-generated method stub
		
	}
	*/

}
